home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
001a
/
ezzcomm.zip
/
DIAL5853.T
< prev
next >
Wrap
Text File
|
1991-02-16
|
3KB
|
60 lines
: EZ-ZCOMM Copyright 1991 by Roger E. Hough, All Rights Reserved.
: Licensed for use at your own risk without fee. Altered versions,
: when distributed, must be clearly marked as altered and accompanied
: by the originals.
ife "dT||!%telno" fail;ife r nolog close;kill
ena -dfEKS!abcilnptuvwzZ ha both
display stat=off noinhibit nodumb vt100 8bit;lput \r\n
ph0 pt4 z pp50 pt100 pB2 set blankfill " " sets s9 %telno
pat;pat 0 ERROR;pat 1 BUSY;pat 2 "NO DIAL TONE";pat 3 "INCOMING RING"
pat 4 ABORT;pat 5 "NO ANSWER";pat 6 "NO CARRIER"
pat 7 VOICE;pat 8 UNSUCCESSFUL
pat 10c CONNECT "@pat 12l OK"
pat 11c "NO ECL" "@pat 12l OK"
pat 13c " 1200" "@estimate 0 1200"
pat 14c " 2400" "@estimate 0 2400"
next:
bye;speed 4800;estimate 0 300;pat 12c "";split s9 + "";sets s9 %z1 split z0 "." ""
set z2 DN;if %z1&&Jz1,mM set z2 DE
put "\016\336%z2 %mprefix%z0\&%msuffix"
pf60 wait -f60;if 12 sets telno %z0 pf30 display nostat=off;cls;queue delete;ki create -+ %n9/ZC%d%ano.LOG;return
if 1||2||3 ife %s9 goback next;pi45 pat;bye;fail
pi0 set telno "" queue delete;pat;bye;fail
init:
set msuffix ";TR 0\r" set onexit
@ife r nolog closerx;ife t nolog closetx;ife !c putw \016\336IN\r
ife c return;bye; display stat=off;speed 4800 ena -8g;handshake both
pat; pat 0 "OK";pat 1i "ERROR";put "\r\016\336IN\rATZ\r";wait -f15
pat;pat 0 IBM;put "\336START\r";wait -f15
pat;pat 0 OK;put "\016\336OP 1=0;OP 5=0;OP 15=0;OP 16=2;OP 27=6\r";wait -f15
pat;pat 0 OK;put "\016\336FO 5;AE;BC 1;FD 3;FM 0\r";wait -f15
pat;return
:
: DIP switches for IBM 5853 modems:
:
: 1 - Up Accept non-MNP connections
: 2 - Up Do not loose config when DTR is dropped
: 3 - Down Do not send XON/XOFF
: 4 - Up Buffer data only if speed 4800 or speed 9600
: 5 - Down Use RTS/CTS flow control
: 6 - Up Carrier detect follows signal
: 7 - Up Use RTS/CTS flow control
: 8 - Up DSR indicates phone connection(as per EIA RS232C)
:
: Note: front panel buttons should all be 'out'
:
:Command Description
:-------- --------------------------------------------------------
: START Place modem into IBM Command Mode
: OP 1=0 Turn off speaker. OP 1=1 would listen to modem dialing.
: OP 5=0 Make no attempt to recognize voice
: OP 15=0 Do not answer the phone without being asked
: OP 16=2 Wait two rings for answer when dialing out
: OP 27=6 DTE(port) speed defaults to 4800
: FO 5 DTE(port) defaults to 8N1
: AE Accept MNP call if told to answer the phone
: BC 1 Break should purge buffers and be passed through
: FD 3 Use RTS/CTS flow control
: FM 0 Modem does not emit or swallow XON/XOFF characters
: